"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const koa_router_1 = __importDefault(require("koa-router"));
const userCtl_1 = __importDefault(require("../controller/userCtl"));
const userRouter = new koa_router_1.default({ prefix: "/users" });
// 用户列表
userRouter.get("/list", userCtl_1.default.list);
//用户保存
userRouter.post("/save", userCtl_1.default.save);
userRouter.post("/delete", userCtl_1.default.delete);
userRouter.post("/update", userCtl_1.default.update);
exports.default = userRouter;
